package com.lyf.scm.plan.api.controller;

import com.lyf.scm.plan.domain.service.BigDataStoreHandlerService;
import com.rome.arch.core.clientobject.Response;
import com.rome.arch.util.controller.RomeController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 门店处理
 *
 * @author wangchlei
 * @date 2020/10/23
 */
@Slf4j
@RomeController
@RequestMapping("/api/v1/bigData/store/handler")
public class BigDataStoreHandlerController {
    @Resource
    private BigDataStoreHandlerService bigDataStoreHandlerService;

    /**
     * 处理
     *
     * @param
     * @return {@link Response}
     **/
    @PostMapping
    public Response handleApiDispatcher() {
        bigDataStoreHandlerService.handleApiDispatcher();
        return Response.builderSuccess(null);
    }

}
